<?php 
session_start();
?>
<?php require_once('Conection_DataBase.php') ?>
<?
mysql_select_db($database_jssue, $jssue);
$Querry_recordSet = "select * from cllg_student";
$recordset = mysql_query($Querry_recordSet, $jssue) or die(mysql_error());

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Reporte Cheques Rechasados</title>
<link href="../../../css/ContentStyle.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../../js/prototype.js"></script>
<script type="text/javascript" src="calendarDateInput.js"></script>
<script type="text/javascript">
	  function showReporte(){
			var URL = "RepCheqesRechas.php?";
			var params=$(document.forms[0]).serialize();
			page = window.open(URL+params, "reporte",  "toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=1000,height=500,left = 682.5,top = 412.5");
	  }	
	  </script>
</head>

<body>
<form id="form1" name="form1" method="post" action="BaseCheqesRechas.php" target="_blank">
  <table width="475" border="0" cellpadding="5" cellspacing="0" class="tableform">
   
    <tr>
      <th colspan="3">Rango de Fechas de Cheques</th>
    </tr>
    <tr>
      <td width="125"><label for="fechaDesde">Desde:</label></td>
      <td width="121"><script>DateInput('fechDesde', true, 'YYYY-MM-DD')</script></td>
      <td width="197" rowspan="2"><input name="fechas" type="checkbox" id="fechas" value="1" checked="checked" /><label for="fechas">
        Todas las fechas</label></td>
    </tr>
    <tr>
      <td><label for="fechaHasta">Hasta:</label></td>
      <td><script>DateInput('fechHasta', true, 'YYYY-MM-DD')</script></td>
    </tr>
    <tr>
      <td align="left"><label for="tipoFecha">Tipo de Fecha</label></td>
      <td align="left"><select name="tipoFecha" id="tipoFecha">
        <option value="1" selected="selected">Fecha Rechazo</option>
        <option value="2">Fecha Reposicion</option>
      </select></td>
      <td align="center">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="3" align="center">
      
        <input name="button" type="button" onclick="showReporte();" class="btnCustom" id="button" value="Procesar..." />
	  </td>
    </tr>
    
  </table>
</form>
</body>
</html>
